{include file="public:header" /}
<!--列表-->
<div class="pad_lr_10" >
    <div class="J_tablelist table_list" data-acturi="{:url('ajaxEdit')}">
        <table width="100%" cellspacing="0">
            <thead>
            <tr>
                <th  align="left" width="20"><input type="checkbox" id="checkall_t" class="J_checkall"></th>
                <th align="left">ID</th>
                <th align="left">名称</th>
                <th align="left">最后采集时间</th>
                <th align="left">内容操作</th>
                <th align="left">管理</th>
            </tr>
            </thead>
            <tbody>
            {volist name="lists" id="val"}
                <tr>
                    <td align="left"><input type="checkbox" class="J_checkitem" value="{$val.nodeid}"></td>
                    <td align="left">{$val.nodeid}</td>
                    <td align="left">{$val.name}</td>
                    <td align="left">{notempty name="val['lastdate']"}{:date("Y-m-d H:i:s",$val['lastdate'])}{else/}无采集{/notempty}</td>
                    <td align="left">
                        [<a href="{:url('colUrl',['id'=>$val['nodeid']])}">采网址</a>]
                        [<a href="{:url('colContent',['id'=>$val['nodeid']])}">采内容</a>]
                        [<a href="{:url('publish',['id'=>$val['nodeid'],'status'=>2])}">内容发布</a>]
                    </td>
                   <td align="left">{:rights($options,$val['nodeid'],$val['name'],$menuid)}</td>
                </tr>
            {/volist}
            </tbody>
        </table>

        <div class="btn_wrap_fixed">
            <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">全选/取消</label>
            <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:url('delete')}" data-name="id" data-msg="确认要删除所选记录么" value="删除" />
            <div id="pages">{$pages}</div>
        </div>
    </div>
</div>
{include file="public:footer" /}

</body>
</html>
